<?php $memAccount = $this->Session->read('member_account'); ?>


    <section class="vbox">
        <section class="scrollable">
            <div class="wrapper">
                <div class="clearfix m-b">
                    <a href="#" class="pull-left thumb m-r">
                        <?php if (isset($memAccount['Member']['MemberImage'][0]['thumb_url'])) { ?>
                            <img src="<?php echo $this->Html->url($memAccount['Member']['MemberImage'][0]['thumb_url']); ?>" class="img-circle img-thumbnail">
                        <?php } else { ?>
                            <img src="<?php echo $this->Html->url('/img/avatar_default.jpg'); ?>" class="img-circle img-thumbnail">
                        <?php } ?>
                    </a>
                    <div class="clear">
                        <div class="h5 m-t-xs m-b-xs"><?php echo $memAccount['Member']['first_name'] . ' ' . $memAccount['Member']['last_name']; ?></div>
                        <a href="<?php echo $this->Html->url(array('action' => 'profile')); ?>" class="text-sm">
                            <i class="fa fa-pencil"></i> Edit Profile
                        </a>
                    </div>                
                </div>

                <!--
                <div class="panel wrapper">
                    <div class="row">
                        <div class="col-xs-4">
                            <a href="#">
                                <span class="m-b-xs h4 block"><?php echo '0'; ?></span>
                                <small class="text-muted">Groups</small>
                            </a>
                        </div>
                        <div class="col-xs-4">
                            <a href="#">
                                <span class="m-b-xs h4 block"><?php echo '0'; ?></span>
                                <small class="text-muted">Friends</small>
                            </a>
                        </div>
                        <div class="col-xs-4">
                            <a href="#">
                                <span class="m-b-xs h4 block"><?php echo '0'; ?></span>
                                <small class="text-muted">Events</small>
                            </a>
                        </div>
                    </div>
                </div>

                <div class="btn-group btn-group-justified m-b">
                    <a class="btn btn-success btn-rounded" data-toggle="button">
                        <span class="text">
                            <i class="fa fa-eye"></i> Follow
                        </span>
                        <span class="text-active">
                            <i class="fa fa-eye"></i> Following
                        </span>
                    </a>
                    <a class="btn btn-info btn-rounded">
                        <i class="fa fa-envelope"></i> Message
                    </a>
                </div>
                -->

                <div>
                    <small class="text-uc text-xs text-muted">about me</small>
                    <p><?php echo $memAccount['Member']['occupation']; ?></p>
                    <small class="text-uc text-xs text-muted">info</small>
                    <p><?php //echo $memAccount['Member']['promo'];       ?></p>
                    <div class="line"></div>
                    <!--<small class="text-uc text-xs text-muted">connect</small>
                    <p class="m-t-sm text-center">
                        <a href="#" class="btn btn-rounded btn-twitter btn-icon"><i class="fa fa-twitter"></i></a>
                        <a href="#" class="btn btn-rounded btn-facebook btn-icon"><i class="fa fa-facebook"></i></a>
                        <a href="#" class="btn btn-rounded btn-gplus btn-icon"><i class="fa fa-google-plus"></i></a>
                    </p>
                    -->
                </div>
            </div>
        </section>
    </section>
